import type { GoodsDetailResponse } from '@/types/Category'
import { request } from '@/utils/request'

/**
 * 商品详情
 * GET
 * /goods
 */
export const getGoodsDetailAPI = (id: string) => {
  return request<GoodsDetailResponse>('/goods', 'GET', { id })
}
